package com.fayuan.nocv.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fayuan.nocv.entity.NocvNews;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NocvNewsMapper extends BaseMapper<NocvNews> {

    @Select("select * from nocv_news limit 0,3")
    List<NocvNews> only3list();
}
